from flask import db

class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(80), unique=True, nullable=False)

user = User(username="admin")
db.session.add(user)
db.session.commit()